package javaVersion.pojo;

/**
 * @program: myFlink
 * @description: 用于封装单词和单词出现的次数
 * @author: WincoMa
 * @create: 2020-07-20 11:00
 **/
public class Pro6_Stream_WordWithCount {
    private String word;
    private long count;

    public Pro6_Stream_WordWithCount() {
    }

    public Pro6_Stream_WordWithCount(String word, long count) {
        this.word = word;
        this.count = count;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "Pro6_Stream_WordWithCount{" +
                "word='" + word + '\'' +
                ", count=" + count +
                '}';
    }
}
